/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.dahg.project.controller.model.services.local;

import java.util.List;
import javax.ejb.Local;
import org.dahg.project.controller.model.Usuario;
import org.dahg.project.controller.model.exceptions.ControllerException;
import org.dahg.project.controller.model.exceptions.ValidationException;
import org.dahg.project.controller.model.services.Service;

/**
 *
 * @author dahg
 */

@Local
public interface UsuarioService extends Service<Usuario> {
    List<Usuario> getAll();
    Usuario validate(String user, String pass) throws ValidationException,ControllerException;
}
